package top.moxingwang.javawork.bytecode;


import com.sun.istack.internal.NotNull;

public class KeyWord {
    public void testThis(KeyWord keyword) {
        System.out.println("test this");
    }

    public void sayHell() {
        String a =null;
        System.out.println("say hello");
        testThis(this);
    }

    public static void main(String[] args) {
        //以下都是invoke dynamic
        KeyWord keyWord = new KeyWord();
        keyWord.sayHell();
        new KeyWord().sayHell();
    }
}
